﻿package com.d4p.custom.imageLoader
{
	import flash.display.Bitmap;
	import flash.events.Event;

	public class ImageLoaderEvent extends Event
	{
		public static const IMAGE_COMPLETE:String = "imageComplete";
		
		public var bitmap:Bitmap;
		
		public function ImageLoaderEvent(bitmap:Bitmap, type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.bitmap = bitmap;
		}
		public override function clone():Event
		{
			return new ImageLoaderEvent(bitmap,type,bubbles,cancelable)
		}
	}
}
